<#if packageStyle == "service">
package com.sumavision.xscreen.live.controller;
import com.sumavision.xscreen.live.persistence.entity.${className};
import com.sumavision.xscreen.live.service.${className}Service;
<#else>
package ${sourceBasePackage}.controller.${entityPackage};
import ${sourceBasePackage}.entity.${entityPackage}.${className};
import ${sourceBasePackage}.service.${entityPackage}.${className}Service;
</#if>

import com.sumavision.xscreen.base.service.BaseService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.sumavision.xscreen.base.controller.CRUDController;


/**
 * 
 * @description  ${description}controller
 * @author       ${author}
 * @version      V5.1
 * @Date         ${createDate}
 *
 */
 
@Controller
@RequestMapping("/live/${className?uncap_first}")
public class ${className}Controller extends CRUDController<${className}, Long> {

	private Logger logger = LoggerFactory.getLogger(${className}Controller.class);

	@Resource(name = "${className?uncap_first}ServiceImpl")
	private ${className}Service ${className?uncap_first}Service;
	
	@Resource(name = "${className?uncap_first}ServiceImpl")
	public void setBaseService(BaseService<${className}, Long> baseService) {
		this.baseService = baseService;
	}
}
